<template>
<div class="detail">
   <van-nav-bar title="房屋详情" left-text="旅途" left-arrow @click-left="onClickLeft"></van-nav-bar>
     
</div>
</template>
<script setup>
import {useRoute, useRouter} from 'vue-router'
const route = useRoute()
const router = useRouter()
console.log(route.params.id);
const onClickLeft = () =>{
    console.log("left");
    router.back()
}
</script>
<style lang="less" scoped>
    /*局部css 支持css3 可以改变elementUI组件的样式 且组件样式调整只在本页面生效**/
    /*主样式*/
</style>  